Improve dbus error handling; detect bus failure
authorDaniel Colascione <dancol@dancol.org>
Fri, 21 Feb 2014 04:32:31 +0000 (20:32 -0800)
committerDaniel Colascione <dancol@dancol.org>
Fri, 21 Feb 2014 04:32:31 +0000 (20:32 -0800)
1  2 
lisp/ChangeLog

diff --cc lisp/ChangeLog
index c98876d1589f83d186c960f5447d65a1e0ef1463,154fd6ba235764346e7d6a177729cd51209b045b..1fadc073f0bd465a84713c0bb18855fcc43e8be7
@@@ -1,20 -1,18 +1,35 @@@
+ 2014-02-21  Daniel Colascione  <dancol@dancol.org>
+       * net/dbus.el (dbus-init-bus-1): Declare new subr.
+       (dbus-init-bus): New function: call into dbus-init-bus-1
+       and installs a handler for the disconnect signal.
+       (dbus-call-method): Rewrite to look for result in cons.
+       (dbus-call-method-handler): Store result in cons.
+       (dbus-check-event): Recognize events with nil sender as valid.
+       (dbus-handle-bus-disconnect): New function.  React to bus
+       disconnection signal by synthesizing dbus error for each
+       pending synchronous or asynchronous call.
+       (dbus-notice-synchronous-call-errors): New function.
+       (dbus-handle-event): Raise errors directly only when `dbus-debug'
+       is true, not all the time.
 +2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
 +
 +      * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
 +      Remove obsolescence declarations, these variables do not exist anymore.
 +
 +      * savehist.el (savehist-save-minibuffer-history)
 +      (savehist-additional-variables, savehist-file, savehist-mode-hook)
 +      (savehist-save-hook, savehist-coding-system, savehist-loaded)
 +      (savehist-load, savehist-install, savehist-autosave): Fix typos;
 +      mostly, refer to "Savehist mode" when talking about the mode,
 +      and not the function.
 +
 +      * saveplace.el (save-place): Remove redundant info in docstring.
 +      (save-place-forget-unreadable-files, toggle-save-place)
 +      (save-place-forget-unreadable-files, save-place-dired-hook):
 +      Fix typos and remove unneeded backslashes.
 +
  2014-02-20  Michael Albinus  <michael.albinus@gmx.de>
  
        * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.